/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package photoshare.dto;

import java.io.Serializable;
import java.sql.Date;

/**
 *
 * @author PhotoShare
 */
public class ThemeDTO implements Serializable {
    private Integer themeId;
    private String name;
    private String style;
    private String banner;
    private String dateCretae;

    public ThemeDTO() {
    }

    public ThemeDTO(Integer themeId) {
        this.themeId = themeId;
    }

    public ThemeDTO(Integer themeId, String name, String style, String banner, String dateCretae) {
        this.themeId = themeId;
        this.name = name;
        this.style = style;
        this.banner = banner;
        this.dateCretae = dateCretae;
    }

    public Integer getThemeId() {
        return themeId;
    }

    public void setThemeId(Integer themeId) {
        this.themeId = themeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getBanner() {
        return banner;
    }

    public void setBanner(String banner) {
        this.banner = banner;
    }

    public String getDateCretae() {
        return dateCretae;
    }

    public void setDateCretae(String dateCretae) {
        this.dateCretae = dateCretae;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (themeId != null ? themeId.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof ThemeDTO)) {
            return false;
        }
        ThemeDTO other = (ThemeDTO) object;
        if ((this.themeId == null && other.themeId != null) || (this.themeId != null && !this.themeId.equals(other.themeId))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "dto.Themes[themeId=" + themeId + "]";
    }

}
